package cn.kgc.service;

import cn.kgc.pojo.Building;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author shkstart
 * @create 2020-03-16 9:17
 */
public interface BuildingService {

    //分页查询
    PageInfo<Building> queryForKeywordSearchBuilding(Integer pageNum, Integer pageSize, String keyword);
    //增加
    public void  insertBuilding(Building building);
    //根据id查询  修改回显
    public Building  selectByIdBuilding(Integer id);
    //修改
    public  void  updateBuilding(Building building);
    //删除 批量删除
    public void  deleteBuilding(List<Integer> id);
    //根据id删除
    //单条删除
    public void removedeleteBuilding(Integer id);

    //详细信息
    public Building  selectByIdBuildingXiang(Integer id);

}
